Skip to content

Conversation

teunbrand
Copy link
Collaborator

This PR fixes #6512.

It doesn't solve David's issue at large, which we've expressed reluctance about, but it does fix the example pointed out.
From #6512 (comment):

Now for geom_density in particular this is a bit surprising because it is a polygon under the hood so it present itself as a line but is in fact a polygon. Maybe we can do something there.

This changes the border parametrisation to line parametrisation.

@teunbrand teunbrand added this to the ggplot2 4.0.0 milestone Jul 7, 2025
Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@teunbrand teunbrand merged commit c0c6b8d into tidyverse:main Jul 18, 2025
13 checks passed
@teunbrand teunbrand deleted the density_default_aesthetics branch July 18, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

element_geom use of linewidth & borderwidth etc
2 participants